<template>
  <div class="app-main-container">
    <el-breadcrumb separator-class="el-icon-arrow-right">
      <el-breadcrumb-item :to="{ path: '/application/applicationCenter' }" :replace="true">{{ $t('message.yyzx') }}</el-breadcrumb-item>
      <el-breadcrumb-item>{{ $t('message.dbjgl') }}</el-breadcrumb-item>
    </el-breadcrumb>
    <el-tabs v-model="activeTab" class="mt20">
      <el-tab-pane :label="$t('message.dbjsb')" name="0"><Device v-if="activeTab === '0'" :meta="meta" /></el-tab-pane>
      <el-tab-pane :label="$t('message.ddlb')" name="1"><OrderList v-if="activeTab === '1'" :meta="meta" /></el-tab-pane>
      <el-tab-pane :label="$t('message.dbjsz')" name="2"><Set v-if="activeTab === '2'" :meta="meta" /></el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import Device from './tabs/device.vue'
import OrderList from './tabs/orderList.vue'
import Set from './tabs/set.vue'
export default {
  name: 'Currency',
  components: {
    Device,
    OrderList,
    Set
  },
  data() {
    return {
      activeTab: '0',
      meta: []
    }
  },
  created() {
    this.meta = this.$route.meta.buttons || []
  },
  activated() {

  },
  methods: {

  }
}
</script>

<style lang="scss" scoped>

</style>
